#include <iostream>
#include <map>
#include "Object.h"

int main(int argc, char* argv[])
{
    Context* lpCtx = new Context(10);

    IExpression* lpPlus = new CPlus();
    lpPlus->interpret(lpCtx);
    cout << "CPlus: " << lpCtx->GetNum() << endl;

    IExpression* lpMinus = new CMinus();
    lpMinus->interpret(lpCtx);
    cout << "CMinus: " << lpCtx->GetNum() << endl;

    return 0;
}
